package com.xhwl.centiotdata.service.guangtuo;

import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.alarmhost.AlarmHostInfoDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhouyongzhou
 * @date 2023/04/26  9:24
 */
@RestController
public interface AlarmHostService {
    /**
     * 操作报警主机中防区状态
     * @param alarmHost
     * @return 
     */
    @PostMapping("/alarmhost/defarea")
    ResultJson batchPutDefAreaCtrlType(@RequestBody AlarmHostInfoDTO alarmHost);


    /**
     * 操作报警主机中子系统状态
     * @param alarmHost
     * @return
     */
    @PostMapping("/alarmhost/sub_system")
    ResultJson putSubSystemCtrlType(@RequestBody AlarmHostInfoDTO alarmHost);
}
